package com.boss.salary.service;

import com.boss.common.entity.PageDTO;
import com.boss.framework.dto.PaginationDTO;
import com.boss.salary.entity.FileInfo;
import com.boss.sys.ca.user.dto.UserDTO;

import java.util.List;

public interface IFileInfoService {

    String insertFileInfo(FileInfo fileInfo);

    String insertFileInfoList(List<FileInfo> fileInfoList,UserDTO userDTO ) throws Exception;

    String deleteFileInfo(FileInfo fileInfo);
    //批量删除
    String deleteEnclosureByIds(List<String> id);
    String deleteEnclosureByFileIds(List<String> id);
    PageDTO<FileInfo> getFileInfo(PaginationDTO paginationDTO , List<String> list, String operateType, String agencyId, String mofDivCode, UserDTO userDTO);

    Integer queryPersonFileNum(List<String> personId, String agencyId, String operateType,String mofDivCode);


    List<FileInfo> queryExcel(List<String> list, String province, String agencyId,UserDTO userDTO);

    List<FileInfo> getGroupFile(List<String> list, String province, String agencyId,UserDTO userDTO);
}
